<div ng-controller="z-salaryRequestDetail-c" z-loading is-loading="viewModel.isLoading">
    <div viewstack class="carousel slide" data-ride="carousel" s>
        <div class="carousel-inner" role="listbox">
            <div class="item active">
                <!-- <div class="row">
                    <div class="col-lg-12 heading">
                        <ul id="crumb" class="breadcrumb">
                            <li>
                                <i class="im-home"></i>
                                <a href="index.html">首页</a>
                            </li>
                            <li ng-repeat="menu in viewModel.menuList">
                                <i class="{{menu.icons}}" ng-if="$index+1!=viewModel.menuList.length"></i>
                                <i class="en-arrow-right7" ng-if="$index+1==viewModel.menuList.length"></i>
                                {{menu.label}}
                            </li>
                        </ul>
                    </div>
                </div> -->
                <div class="outlet">
                    <div class="panel-body">
                        <form class="form-horizontal group-border hover-stripped" role="form" name="form">
                            <div class="row">
                                
                               
                            </div>
                        </form>
                    </div>
                </div>
                <div class="outlet">
                    <div style="overflow-x: auto;background: #fff;">
                        <table class="table table-striped table-bordered" cellspacing="0" id="salary-table2" style="width:100%;">
					        <thead class="salary-scroll">
					        <tr>
					            <th class="thead1" colspan="12">基本信息</th>
					            <th class="thead2" colspan="1">工作日历明细</th>
					            <th class="thead3" colspan="6">考勤异常明细</th>
					            <th class="thead4" colspan="3">加班明细(天)</th>
					            <th class="thead5" colspan="10">请假明细(天)</th>
					            <th class="thead6" colspan="1"></th>
					        </tr>
					
					        <tr class="salary-tr-1">
					            <th>
					                <div>一级架构</div>
					            </th>
					            <th>
					                <div>二级架构</div>
					            </th>
					            <th>
					                <div>三级架构</div>
					            </th>
					            <th>
					                <div>四级架构</div>
					            </th>
					            <th>
					                <div>工号</div>
					            </th>
					            <th>
					                <div>中文名</div>
					            </th>
					            <th>
					                <div>英文名</div>
					            </th>
					            <th>
					               <div>性别</div>
					            </th>
					            <th>
					               <div>员工级别</div>
					            </th>
					            <th>
					                <div>岗位</div>
					            </th>
					            <th>
					                <div>入职日期</div>
					            </th>
					            <th>
					                <div>离职日期</div>
					            </th>
					            <th>
					                <div style="width: 90px;">应出勤天数</div>
					            </th>
					            <th>
					                <div>迟到次数</div>
					            </th>
					            <th>
					                <div>迟到扣款</div>
					            </th>
					            <th>
					                <div>早退次数</div>
					            </th>
					            <th>
					                <div>早退扣款</div>
					            </th>
					            <th>
					                <div>旷工次数</div>
					            </th>
					            <th>
					                <div>补签次数</div>
					            </th>
					            <th>
					                <div>平日加班</div>
					            </th>
					            <th>
					                <div>双休加班</div>
					            </th>
					            <th>
					                <div>节日加班</div>
					            </th>
					            <th>
					                <div>年假</div>
					            </th>
					            <th>
					                <div>调休</div>
					            </th>
					            <th>
					                <div>事假</div>
					            </th>
					            <th>
					                <div>病假</div>
					            </th>
					            <th>
					                <div>婚假</div>
					            </th>
					            <th>
					                <div>产假</div>
					            </th>
					            <th>
					                <div>产检</div>
					            </th>
					            <th>
					                <div>陪护假</div>
					            </th>
					            <th>
					                <div>哺乳假</div>
					            </th>
					            <th>
					                <div>丧假</div>
					            </th>
					            <th>
					                <div>备注</div>
					            </th>
					        </tr>
					        </thead>
					
					        <!--  与thead对应 待定-->
					        <tbody class="salary-scroll-body-Detail">
					        <tr ng-repeat="salaryDetail in detailModel.dataList">
					            <td>
					                <div>{{salaryDetail.deptmentNameOne}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.deptmentNameTwo}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.deptmentNameThree}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.deptmentNameFour}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.employeeNo}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.chineseName}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.englishName}}</div>
					            </td>
					            <td>
					                <div>
					                	<span ng-if="salaryDetail.sex==1">男</span>	
					                    <span ng-if="salaryDetail.sex==2">女</span>
					                </div>
					            </td>
					            <td>
					                <div>{{salaryDetail.level}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.roleName}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.entryDate | date:'yyyy/MM/dd'}}</div>
					            </td>
					            <td>
					                <div>{{salaryDetail.employeeSeparatedDate | date:'yyyy/MM/dd'}}</div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.beAttendanceDays!=salaryDetail.beAttendanceDaysCor && salaryDetail.beAttendanceDaysCor!=null" class="w90">
					                    <span ng-if="salaryDetail.beAttendanceDaysCor!=null" style="color: red">{{salaryDetail.beAttendanceDaysCor}}</span>
					                    <span ng-if="salaryDetail.beAttendanceDays!=null">({{salaryDetail.beAttendanceDays}})</span>
					                </div>
					                <div ng-if="salaryDetail.beAttendanceDays==salaryDetail.beAttendanceDaysCor || salaryDetail.beAttendanceDaysCor==null" class="w90">
					                    <span ng-if="salaryDetail.beAttendanceDays!=null">{{salaryDetail.beAttendanceDays}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.lateCount!=salaryDetail.lateCountCor && salaryDetail.lateCountCor!=null">
					                    <span ng-if="salaryDetail.lateCountCor!=null"
					                          style="color: red">{{salaryDetail.lateCountCor}}</span>
					                    <span ng-if="salaryDetail.lateCount!=null">({{salaryDetail.lateCount}})</span>
					                </div>
					                <div ng-if="salaryDetail.lateCount==salaryDetail.lateCountCor || salaryDetail.lateCountCor==null">
					                    <span ng-if="salaryDetail.lateCount!=null">{{salaryDetail.lateCount}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.lateMoney!=salaryDetail.lateMoneyCor && salaryDetail.lateMoneyCor!=null">
					                    <span ng-if="salaryDetail.lateMoneyCor!=null"
					                          style="color: red">{{salaryDetail.lateMoneyCor}}</span>
					                    <span ng-if="salaryDetail.lateMoney!=null">({{salaryDetail.lateMoney}})</span>
					                </div>
					                <div ng-if="salaryDetail.lateMoney==salaryDetail.lateMoneyCor || salaryDetail.lateMoneyCor==null">
					                    <span ng-if="salaryDetail.lateMoney!=null">{{salaryDetail.lateMoney}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.leaveEarlyCount!=salaryDetail.leaveEarlyCountCor && salaryDetail.leaveEarlyCountCor!=null">
					                    <span ng-if="salaryDetail.leaveEarlyCountCor!=null" style="color: red">{{salaryDetail.leaveEarlyCountCor}}</span>
					                    <span ng-if="salaryDetail.leaveEarlyCount!=null">({{salaryDetail.leaveEarlyCount}})</span>
					                </div>
					                <div ng-if="salaryDetail.leaveEarlyCount==salaryDetail.leaveEarlyCountCor || salaryDetail.leaveEarlyCountCor==null">
					                    <span ng-if="salaryDetail.leaveEarlyCount!=null">{{salaryDetail.leaveEarlyCount}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.leaveEarlyMoney!=salaryDetail.leaveEarlyMoneyCor && salaryDetail.leaveEarlyMoneyCor!=null">
					                    <span ng-if="salaryDetail.leaveEarlyMoneyCor!=null" style="color: red">{{salaryDetail.leaveEarlyMoneyCor}}</span>
					                    <span ng-if="salaryDetail.leaveEarlyMoney!=null">({{salaryDetail.leaveEarlyMoney}})</span>
					                </div>
					                <div ng-if="salaryDetail.leaveEarlyMoney==salaryDetail.leaveEarlyMoneyCor || salaryDetail.leaveEarlyMoneyCor==null">
					                    <span ng-if="salaryDetail.leaveEarlyMoney!=null">{{salaryDetail.leaveEarlyMoney}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.absentCount!=salaryDetail.absentCountCor && salaryDetail.absentCountCor!=null">
					                    <span ng-if="salaryDetail.absentCountCor!=null"
					                          style="color: red">{{salaryDetail.absentCountCor}}</span>
					                    <span ng-if="salaryDetail.absentCount!=null">({{salaryDetail.absentCount}})</span>
					                </div>
					                <div ng-if="salaryDetail.absentCount==salaryDetail.absentCountCor || salaryDetail.absentCountCor==null">
					                    <span ng-if="salaryDetail.absentCount!=null">{{salaryDetail.absentCount}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.retroactiveCount!=salaryDetail.retroactiveCountCor && salaryDetail.retroactiveCountCor!=null">
					                    <span ng-if="salaryDetail.retroactiveCountCor!=null" style="color: red">{{salaryDetail.retroactiveCountCor}}</span>
					                    <span ng-if="salaryDetail.retroactiveCount!=null">({{salaryDetail.retroactiveCount}})</span>
					                </div>
					                <div ng-if="salaryDetail.retroactiveCount==salaryDetail.retroactiveCountCor || salaryDetail.retroactiveCountCor==null">
					                    <span ng-if="salaryDetail.retroactiveCount!=null">{{salaryDetail.retroactiveCount}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.overtimeNomal!=salaryDetail.overtimeNomalCor && salaryDetail.overtimeNomalCor!=null">
					                    <span ng-if="salaryDetail.overtimeNomalCor!=null" style="color: red">{{salaryDetail.overtimeNomalCor}}</span>
					                    <span ng-if="salaryDetail.overtimeNomal!=null">({{salaryDetail.overtimeNomal}})</span>
					                </div>
					                <div ng-if="salaryDetail.overtimeNomal==salaryDetail.overtimeNomalCor || salaryDetail.overtimeNomalCor==null">
					                    <span ng-if="salaryDetail.overtimeNomal!=null">{{salaryDetail.overtimeNomal}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.overtimeWeekend!=salaryDetail.overtimeWeekendCor && salaryDetail.overtimeWeekendCor!=null">
					                    <span ng-if="salaryDetail.overtimeWeekendCor!=null" style="color: red">{{salaryDetail.overtimeWeekendCor}}</span>
					                    <span ng-if="salaryDetail.overtimeWeekend!=null">({{salaryDetail.overtimeWeekend}})</span>
					                </div>
					                <div ng-if="salaryDetail.overtimeWeekend==salaryDetail.overtimeWeekendCor || salaryDetail.overtimeWeekendCor==null">
					                    <span ng-if="salaryDetail.overtimeWeekend!=null">{{salaryDetail.overtimeWeekend}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.overtimeHoliday!=salaryDetail.overtimeHolidayCor && salaryDetail.overtimeHolidayCor!=null">
					                    <span ng-if="salaryDetail.overtimeHolidayCor!=null" style="color: red">{{salaryDetail.overtimeHolidayCor}}</span>
					                    <span ng-if="salaryDetail.overtimeHoliday!=null">({{salaryDetail.overtimeHoliday}})</span>
					                </div>
					                <div ng-if="salaryDetail.overtimeHoliday==salaryDetail.overtimeHolidayCor || salaryDetail.overtimeHolidayCor==null">
					                    <span ng-if="salaryDetail.overtimeHoliday!=null">{{salaryDetail.overtimeHoliday}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restYearUsed!=salaryDetail.restYearUsedCor && salaryDetail.restYearUsedCor!=null">
					                    <span ng-if="salaryDetail.restYearUsedCor!=null"
					                          style="color: red">{{salaryDetail.restYearUsedCor}}</span>
					                    <span ng-if="salaryDetail.restYearUsed!=null">({{salaryDetail.restYearUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restYearUsed==salaryDetail.restYearUsedCor || salaryDetail.restYearUsedCor==null">
					                    <span ng-if="salaryDetail.restYearUsed!=null">{{salaryDetail.restYearUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restTuneUsed!=salaryDetail.restTuneUsedCor && salaryDetail.restTuneUsedCor!=null">
					                    <span ng-if="salaryDetail.restTuneUsedCor!=null"
					                          style="color: red">{{salaryDetail.restTuneUsedCor}}</span>
					                    <span ng-if="salaryDetail.restTuneUsed!=null">({{salaryDetail.restTuneUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restTuneUsed==salaryDetail.restTuneUsedCor || salaryDetail.restTuneUsedCor==null">
					                    <span ng-if="salaryDetail.restTuneUsed!=null">{{salaryDetail.restTuneUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restThingUsed!=salaryDetail.restThingUsedCor && salaryDetail.restThingUsedCor!=null">
					                    <span ng-if="salaryDetail.restThingUsedCor!=null" style="color: red">{{salaryDetail.restThingUsedCor}}</span>
					                    <span ng-if="salaryDetail.restThingUsed!=null">({{salaryDetail.restThingUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restThingUsed==salaryDetail.restThingUsedCor || salaryDetail.restThingUsedCor==null">
					                    <span ng-if="salaryDetail.restThingUsed!=null">{{salaryDetail.restThingUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restIllUsed!=salaryDetail.restIllUsedCor && salaryDetail.restIllUsedCor!=null">
					                    <span ng-if="salaryDetail.restIllUsedCor!=null"
					                          style="color: red">{{salaryDetail.restIllUsedCor}}</span>
					                    <span ng-if="salaryDetail.restIllUsed!=null">({{salaryDetail.restIllUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restIllUsed==salaryDetail.restIllUsedCor || salaryDetail.restIllUsedCor==null">
					                    <span ng-if="salaryDetail.restIllUsed!=null">{{salaryDetail.restIllUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restMarryUsed!=salaryDetail.restMarryUsedCor && salaryDetail.restMarryUsedCor!=null">
					                    <span ng-if="salaryDetail.restMarryUsedCor!=null" style="color: red">{{salaryDetail.restMarryUsedCor}}</span>
					                    <span ng-if="salaryDetail.restMarryUsed!=null">({{salaryDetail.restMarryUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restMarryUsed==salaryDetail.restMarryUsedCor || salaryDetail.restMarryUsedCor==null">
					                    <span ng-if="salaryDetail.restMarryUsed!=null">{{salaryDetail.restMarryUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restBornUsed!=salaryDetail.restBornUsedCor && salaryDetail.restBornUsedCor!=null">
					                    <span ng-if="salaryDetail.restBornUsedCor!=null"
					                          style="color: red">{{salaryDetail.restBornUsedCor}}</span>
					                    <span ng-if="salaryDetail.restBornUsed!=null">({{salaryDetail.restBornUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restBornUsed==salaryDetail.restBornUsedCor || salaryDetail.restBornUsedCor==null">
					                    <span ng-if="salaryDetail.restBornUsed!=null">{{salaryDetail.restBornUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restCheckUsed!=salaryDetail.restCheckUsedCor && salaryDetail.restCheckUsedCor!=null">
					                    <span ng-if="salaryDetail.restCheckUsedCor!=null" style="color: red">{{salaryDetail.restCheckUsedCor}}</span>
					                    <span ng-if="salaryDetail.restCheckUsed!=null">({{salaryDetail.restCheckUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restCheckUsed==salaryDetail.restCheckUsedCor || salaryDetail.restCheckUsedCor==null">
					                    <span ng-if="salaryDetail.restCheckUsed!=null">{{salaryDetail.restCheckUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restBornAttendUsed!=salaryDetail.restBornAttendUsedCor && salaryDetail.restBornAttendUsedCor!=null">
					                    <span ng-if="salaryDetail.restBornAttendUsedCor!=null" style="color: red">{{salaryDetail.restBornAttendUsedCor}}</span>
					                    <span ng-if="salaryDetail.restBornAttendUsed!=null">({{salaryDetail.restBornAttendUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restBornAttendUsed==salaryDetail.restBornAttendUsedCor || salaryDetail.restBornAttendUsedCor==null">
					                    <span ng-if="salaryDetail.restBornAttendUsed!=null">{{salaryDetail.restBornAttendUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restSuckleUsed!=salaryDetail.restSuckleUsedCor && salaryDetail.restSuckleUsedCor!=null">
					                    <span ng-if="salaryDetail.restSuckleUsedCor!=null" style="color: red">{{salaryDetail.restSuckleUsedCor}}</span>
					                    <span ng-if="salaryDetail.restSuckleUsed!=null">({{salaryDetail.restSuckleUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restSuckleUsed==salaryDetail.restSuckleUsedCor || salaryDetail.restSuckleUsedCor==null">
					                    <span ng-if="salaryDetail.restSuckleUsed!=null">{{salaryDetail.restSuckleUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div ng-if="salaryDetail.restDieUsed!=salaryDetail.restDieUsedCor && salaryDetail.restDieUsedCor!=null">
					                    <span ng-if="salaryDetail.restDieUsedCor!=null"
					                          style="color: red">{{salaryDetail.restDieUsedCor}}</span>
					                    <span ng-if="salaryDetail.restDieUsed!=null">({{salaryDetail.restDieUsed}})</span>
					                </div>
					                <div ng-if="salaryDetail.restDieUsed==salaryDetail.restDieUsedCor || salaryDetail.restDieUsedCor==null">
					                    <span ng-if="salaryDetail.restDieUsed!=null">{{salaryDetail.restDieUsed}}</span>
					                </div>
					            </td>
					            <td>
					                <div>{{salaryDetail.description}}</div>
					            </td>
					        </tr>
					        </tbody>
					    </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>